package tools;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class PropertiesRead {
	public static void main(String[] args) throws IOException {
		
		String propertiesFile = "/home/dsw/workspaces/workspace07/operator0911/src/main/resources/operator-log.properties";
		Properties properties = new Properties();
		FileInputStream fisFileInputStream = new FileInputStream(propertiesFile);
		properties.load(fisFileInputStream);
		System.out.println("1" + properties.get("com.ipinyou.pyad.model.AdSite.renderClickUrl") + "1");
		System.out.println("null".equalsIgnoreCase(properties.get("com.ipinyou.pyad.model.AdSite.renderClickUrl").toString()) + "1");
		System.out.println("null".equalsIgnoreCase(properties.get
				("com.ipinyou.pyad.model.CategoryInfoMap.categoryStr").toString()) + "1");
		System.out.println("    C   /home/dsw/workspaces/workspace07/operator0911/src/main/webapp/WEB-INF/pages/Material/create.jsp");
	}
}
